package com.xiangxiao.rpan.authority.dao;

import com.alibaba.fastjson.JSONObject;

import com.xiangxiao.rpan.authority.model.AuthModuleInfo;
import com.xiangxiao.rpan.authority.model.User;
import com.xiangxiao.rpan.authority.model.UserRoleInfo;
import com.xiangxiao.rpan.authority.vo.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xiangxiao
 * email: 573768011@qq.com
 * date: 2022/11/9 20:21
 */
public interface UserMapper {
  /**
   * 获取指定账户的用户信息
   *
   * @param account
   * @return
   */
  List<UserVo> findUserByAccount(@Param("account") String account);


  /**
   * 按主键更新User实例信息
   * @param record
   * @return
   */
  int updateByPrimaryKeySelective(User record);
}
